[index]

PlayNumber Property

Syntax

set the playNumber of <movie | path | sound>
to <integer> Applies to movies, paths, sounds

Description

The playNumber property specifies the number of times to play a movie, path, or sound when the play command is issued. Setting the playForever property to true causes continuous playback, overriding the value of the playNumber property. A value of 1 causes the movie, path, or sound to play once, then stop at the end of playback. A value greater than 1 causes the movie, path or sound to play multiple times. If, during playback, you reset the playNumber to a larger number, the change is effective immediately.

Notes

If the object's playStyle includes a value of reverseOnReplay, then each even-numbered playback plays in the opposite direction of the initial playback. For example, if playback begins forward, the second playback will be in reverse, third forward, fourth in reverse, and so on.
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.